home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / java / sql / DatabaseMetaData.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  10.5 KB  |  410 lines

  1. package java.sql;
  2.  
  3. public interface DatabaseMetaData extends Wrapper {
  4.    int procedureResultUnknown = 0;
  5.    int procedureNoResult = 1;
  6.    int procedureReturnsResult = 2;
  7.    int procedureColumnUnknown = 0;
  8.    int procedureColumnIn = 1;
  9.    int procedureColumnInOut = 2;
  10.    int procedureColumnOut = 4;
  11.    int procedureColumnReturn = 5;
  12.    int procedureColumnResult = 3;
  13.    int procedureNoNulls = 0;
  14.    int procedureNullable = 1;
  15.    int procedureNullableUnknown = 2;
  16.    int columnNoNulls = 0;
  17.    int columnNullable = 1;
  18.    int columnNullableUnknown = 2;
  19.    int bestRowTemporary = 0;
  20.    int bestRowTransaction = 1;
  21.    int bestRowSession = 2;
  22.    int bestRowUnknown = 0;
  23.    int bestRowNotPseudo = 1;
  24.    int bestRowPseudo = 2;
  25.    int versionColumnUnknown = 0;
  26.    int versionColumnNotPseudo = 1;
  27.    int versionColumnPseudo = 2;
  28.    int importedKeyCascade = 0;
  29.    int importedKeyRestrict = 1;
  30.    int importedKeySetNull = 2;
  31.    int importedKeyNoAction = 3;
  32.    int importedKeySetDefault = 4;
  33.    int importedKeyInitiallyDeferred = 5;
  34.    int importedKeyInitiallyImmediate = 6;
  35.    int importedKeyNotDeferrable = 7;
  36.    int typeNoNulls = 0;
  37.    int typeNullable = 1;
  38.    int typeNullableUnknown = 2;
  39.    int typePredNone = 0;
  40.    int typePredChar = 1;
  41.    int typePredBasic = 2;
  42.    int typeSearchable = 3;
  43.    short tableIndexStatistic = 0;
  44.    short tableIndexClustered = 1;
  45.    short tableIndexHashed = 2;
  46.    short tableIndexOther = 3;
  47.    short attributeNoNulls = 0;
  48.    short attributeNullable = 1;
  49.    short attributeNullableUnknown = 2;
  50.    int sqlStateXOpen = 1;
  51.    int sqlStateSQL = 2;
  52.    int sqlStateSQL99 = 2;
  53.    int functionColumnUnknown = 0;
  54.    int functionColumnIn = 1;
  55.    int functionColumnInOut = 2;
  56.    int functionColumnOut = 3;
  57.    int functionReturn = 4;
  58.    int functionColumnResult = 5;
  59.    int functionNoNulls = 0;
  60.    int functionNullable = 1;
  61.    int functionNullableUnknown = 2;
  62.    int functionResultUnknown = 0;
  63.    int functionNoTable = 1;
  64.    int functionReturnsTable = 2;
  65.  
  66.    boolean allProceduresAreCallable() throws SQLException;
  67.  
  68.    boolean allTablesAreSelectable() throws SQLException;
  69.  
  70.    String getURL() throws SQLException;
  71.  
  72.    String getUserName() throws SQLException;
  73.  
  74.    boolean isReadOnly() throws SQLException;
  75.  
  76.    boolean nullsAreSortedHigh() throws SQLException;
  77.  
  78.    boolean nullsAreSortedLow() throws SQLException;
  79.  
  80.    boolean nullsAreSortedAtStart() throws SQLException;
  81.  
  82.    boolean nullsAreSortedAtEnd() throws SQLException;
  83.  
  84.    String getDatabaseProductName() throws SQLException;
  85.  
  86.    String getDatabaseProductVersion() throws SQLException;
  87.  
  88.    String getDriverName() throws SQLException;
  89.  
  90.    String getDriverVersion() throws SQLException;
  91.  
  92.    int getDriverMajorVersion();
  93.  
  94.    int getDriverMinorVersion();
  95.  
  96.    boolean usesLocalFiles() throws SQLException;
  97.  
  98.    boolean usesLocalFilePerTable() throws SQLException;
  99.  
  100.    boolean supportsMixedCaseIdentifiers() throws SQLException;
  101.  
  102.    boolean storesUpperCaseIdentifiers() throws SQLException;
  103.  
  104.    boolean storesLowerCaseIdentifiers() throws SQLException;
  105.  
  106.    boolean storesMixedCaseIdentifiers() throws SQLException;
  107.  
  108.    boolean supportsMixedCaseQuotedIdentifiers() throws SQLException;
  109.  
  110.    boolean storesUpperCaseQuotedIdentifiers() throws SQLException;
  111.  
  112.    boolean storesLowerCaseQuotedIdentifiers() throws SQLException;
  113.  
  114.    boolean storesMixedCaseQuotedIdentifiers() throws SQLException;
  115.  
  116.    String getIdentifierQuoteString() throws SQLException;
  117.  
  118.    String getSQLKeywords() throws SQLException;
  119.  
  120.    String getNumericFunctions() throws SQLException;
  121.  
  122.    String getStringFunctions() throws SQLException;
  123.  
  124.    String getSystemFunctions() throws SQLException;
  125.  
  126.    String getTimeDateFunctions() throws SQLException;
  127.  
  128.    String getSearchStringEscape() throws SQLException;
  129.  
  130.    String getExtraNameCharacters() throws SQLException;
  131.  
  132.    boolean supportsAlterTableWithAddColumn() throws SQLException;
  133.  
  134.    boolean supportsAlterTableWithDropColumn() throws SQLException;
  135.  
  136.    boolean supportsColumnAliasing() throws SQLException;
  137.  
  138.    boolean nullPlusNonNullIsNull() throws SQLException;
  139.  
  140.    boolean supportsConvert() throws SQLException;
  141.  
  142.    boolean supportsConvert(int var1, int var2) throws SQLException;
  143.  
  144.    boolean supportsTableCorrelationNames() throws SQLException;
  145.  
  146.    boolean supportsDifferentTableCorrelationNames() throws SQLException;
  147.  
  148.    boolean supportsExpressionsInOrderBy() throws SQLException;
  149.  
  150.    boolean supportsOrderByUnrelated() throws SQLException;
  151.  
  152.    boolean supportsGroupBy() throws SQLException;
  153.  
  154.    boolean supportsGroupByUnrelated() throws SQLException;
  155.  
  156.    boolean supportsGroupByBeyondSelect() throws SQLException;
  157.  
  158.    boolean supportsLikeEscapeClause() throws SQLException;
  159.  
  160.    boolean supportsMultipleResultSets() throws SQLException;
  161.  
  162.    boolean supportsMultipleTransactions() throws SQLException;
  163.  
  164.    boolean supportsNonNullableColumns() throws SQLException;
  165.  
  166.    boolean supportsMinimumSQLGrammar() throws SQLException;
  167.  
  168.    boolean supportsCoreSQLGrammar() throws SQLException;
  169.  
  170.    boolean supportsExtendedSQLGrammar() throws SQLException;
  171.  
  172.    boolean supportsANSI92EntryLevelSQL() throws SQLException;
  173.  
  174.    boolean supportsANSI92IntermediateSQL() throws SQLException;
  175.  
  176.    boolean supportsANSI92FullSQL() throws SQLException;
  177.  
  178.    boolean supportsIntegrityEnhancementFacility() throws SQLException;
  179.  
  180.    boolean supportsOuterJoins() throws SQLException;
  181.  
  182.    boolean supportsFullOuterJoins() throws SQLException;
  183.  
  184.    boolean supportsLimitedOuterJoins() throws SQLException;
  185.  
  186.    String getSchemaTerm() throws SQLException;
  187.  
  188.    String getProcedureTerm() throws SQLException;
  189.  
  190.    String getCatalogTerm() throws SQLException;
  191.  
  192.    boolean isCatalogAtStart() throws SQLException;
  193.  
  194.    String getCatalogSeparator() throws SQLException;
  195.  
  196.    boolean supportsSchemasInDataManipulation() throws SQLException;
  197.  
  198.    boolean supportsSchemasInProcedureCalls() throws SQLException;
  199.  
  200.    boolean supportsSchemasInTableDefinitions() throws SQLException;
  201.  
  202.    boolean supportsSchemasInIndexDefinitions() throws SQLException;
  203.  
  204.    boolean supportsSchemasInPrivilegeDefinitions() throws SQLException;
  205.  
  206.    boolean supportsCatalogsInDataManipulation() throws SQLException;
  207.  
  208.    boolean supportsCatalogsInProcedureCalls() throws SQLException;
  209.  
  210.    boolean supportsCatalogsInTableDefinitions() throws SQLException;
  211.  
  212.    boolean supportsCatalogsInIndexDefinitions() throws SQLException;
  213.  
  214.    boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException;
  215.  
  216.    boolean supportsPositionedDelete() throws SQLException;
  217.  
  218.    boolean supportsPositionedUpdate() throws SQLException;
  219.  
  220.    boolean supportsSelectForUpdate() throws SQLException;
  221.  
  222.    boolean supportsStoredProcedures() throws SQLException;
  223.  
  224.    boolean supportsSubqueriesInComparisons() throws SQLException;
  225.  
  226.    boolean supportsSubqueriesInExists() throws SQLException;
  227.  
  228.    boolean supportsSubqueriesInIns() throws SQLException;
  229.  
  230.    boolean supportsSubqueriesInQuantifieds() throws SQLException;
  231.  
  232.    boolean supportsCorrelatedSubqueries() throws SQLException;
  233.  
  234.    boolean supportsUnion() throws SQLException;
  235.  
  236.    boolean supportsUnionAll() throws SQLException;
  237.  
  238.    boolean supportsOpenCursorsAcrossCommit() throws SQLException;
  239.  
  240.    boolean supportsOpenCursorsAcrossRollback() throws SQLException;
  241.  
  242.    boolean supportsOpenStatementsAcrossCommit() throws SQLException;
  243.  
  244.    boolean supportsOpenStatementsAcrossRollback() throws SQLException;
  245.  
  246.    int getMaxBinaryLiteralLength() throws SQLException;
  247.  
  248.    int getMaxCharLiteralLength() throws SQLException;
  249.  
  250.    int getMaxColumnNameLength() throws SQLException;
  251.  
  252.    int getMaxColumnsInGroupBy() throws SQLException;
  253.  
  254.    int getMaxColumnsInIndex() throws SQLException;
  255.  
  256.    int getMaxColumnsInOrderBy() throws SQLException;
  257.  
  258.    int getMaxColumnsInSelect() throws SQLException;
  259.  
  260.    int getMaxColumnsInTable() throws SQLException;
  261.  
  262.    int getMaxConnections() throws SQLException;
  263.  
  264.    int getMaxCursorNameLength() throws SQLException;
  265.  
  266.    int getMaxIndexLength() throws SQLException;
  267.  
  268.    int getMaxSchemaNameLength() throws SQLException;
  269.  
  270.    int getMaxProcedureNameLength() throws SQLException;
  271.  
  272.    int getMaxCatalogNameLength() throws SQLException;
  273.  
  274.    int getMaxRowSize() throws SQLException;
  275.  
  276.    boolean doesMaxRowSizeIncludeBlobs() throws SQLException;
  277.  
  278.    int getMaxStatementLength() throws SQLException;
  279.  
  280.    int getMaxStatements() throws SQLException;
  281.  
  282.    int getMaxTableNameLength() throws SQLException;
  283.  
  284.    int getMaxTablesInSelect() throws SQLException;
  285.  
  286.    int getMaxUserNameLength() throws SQLException;
  287.  
  288.    int getDefaultTransactionIsolation() throws SQLException;
  289.  
  290.    boolean supportsTransactions() throws SQLException;
  291.  
  292.    boolean supportsTransactionIsolationLevel(int var1) throws SQLException;
  293.  
  294.    boolean supportsDataDefinitionAndDataManipulationTransactions() throws SQLException;
  295.  
  296.    boolean supportsDataManipulationTransactionsOnly() throws SQLException;
  297.  
  298.    boolean dataDefinitionCausesTransactionCommit() throws SQLException;
  299.  
  300.    boolean dataDefinitionIgnoredInTransactions() throws SQLException;
  301.  
  302.    ResultSet getProcedures(String var1, String var2, String var3) throws SQLException;
  303.  
  304.    ResultSet getProcedureColumns(String var1, String var2, String var3, String var4) throws SQLException;
  305.  
  306.    ResultSet getTables(String var1, String var2, String var3, String[] var4) throws SQLException;
  307.  
  308.    ResultSet getSchemas() throws SQLException;
  309.  
  310.    ResultSet getCatalogs() throws SQLException;
  311.  
  312.    ResultSet getTableTypes() throws SQLException;
  313.  
  314.    ResultSet getColumns(String var1, String var2, String var3, String var4) throws SQLException;
  315.  
  316.    ResultSet getColumnPrivileges(String var1, String var2, String var3, String var4) throws SQLException;
  317.  
  318.    ResultSet getTablePrivileges(String var1, String var2, String var3) throws SQLException;
  319.  
  320.    ResultSet getBestRowIdentifier(String var1, String var2, String var3, int var4, boolean var5) throws SQLException;
  321.  
  322.    ResultSet getVersionColumns(String var1, String var2, String var3) throws SQLException;
  323.  
  324.    ResultSet getPrimaryKeys(String var1, String var2, String var3) throws SQLException;
  325.  
  326.    ResultSet getImportedKeys(String var1, String var2, String var3) throws SQLException;
  327.  
  328.    ResultSet getExportedKeys(String var1, String var2, String var3) throws SQLException;
  329.  
  330.    ResultSet getCrossReference(String var1, String var2, String var3, String var4, String var5, String var6) throws SQLException;
  331.  
  332.    ResultSet getTypeInfo() throws SQLException;
  333.  
  334.    ResultSet getIndexInfo(String var1, String var2, String var3, boolean var4, boolean var5) throws SQLException;
  335.  
  336.    boolean supportsResultSetType(int var1) throws SQLException;
  337.  
  338.    boolean supportsResultSetConcurrency(int var1, int var2) throws SQLException;
  339.  
  340.    boolean ownUpdatesAreVisible(int var1) throws SQLException;
  341.  
  342.    boolean ownDeletesAreVisible(int var1) throws SQLException;
  343.  
  344.    boolean ownInsertsAreVisible(int var1) throws SQLException;
  345.  
  346.    boolean othersUpdatesAreVisible(int var1) throws SQLException;
  347.  
  348.    boolean othersDeletesAreVisible(int var1) throws SQLException;
  349.  
  350.    boolean othersInsertsAreVisible(int var1) throws SQLException;
  351.  
  352.    boolean updatesAreDetected(int var1) throws SQLException;
  353.  
  354.    boolean deletesAreDetected(int var1) throws SQLException;
  355.  
  356.    boolean insertsAreDetected(int var1) throws SQLException;
  357.  
  358.    boolean supportsBatchUpdates() throws SQLException;
  359.  
  360.    ResultSet getUDTs(String var1, String var2, String var3, int[] var4) throws SQLException;
  361.  
  362.    Connection getConnection() throws SQLException;
  363.  
  364.    boolean supportsSavepoints() throws SQLException;
  365.  
  366.    boolean supportsNamedParameters() throws SQLException;
  367.  
  368.    boolean supportsMultipleOpenResults() throws SQLException;
  369.  
  370.    boolean supportsGetGeneratedKeys() throws SQLException;
  371.  
  372.    ResultSet getSuperTypes(String var1, String var2, String var3) throws SQLException;
  373.  
  374.    ResultSet getSuperTables(String var1, String var2, String var3) throws SQLException;
  375.  
  376.    ResultSet getAttributes(String var1, String var2, String var3, String var4) throws SQLException;
  377.  
  378.    boolean supportsResultSetHoldability(int var1) throws SQLException;
  379.  
  380.    int getResultSetHoldability() throws SQLException;
  381.  
  382.    int getDatabaseMajorVersion() throws SQLException;
  383.  
  384.    int getDatabaseMinorVersion() throws SQLException;
  385.  
  386.    int getJDBCMajorVersion() throws SQLException;
  387.  
  388.    int getJDBCMinorVersion() throws SQLException;
  389.  
  390.    int getSQLStateType() throws SQLException;
  391.  
  392.    boolean locatorsUpdateCopy() throws SQLException;
  393.  
  394.    boolean supportsStatementPooling() throws SQLException;
  395.  
  396.    RowIdLifetime getRowIdLifetime() throws SQLException;
  397.  
  398.    ResultSet getSchemas(String var1, String var2) throws SQLException;
  399.  
  400.    boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException;
  401.  
  402.    boolean autoCommitFailureClosesAllResultSets() throws SQLException;
  403.  
  404.    ResultSet getClientInfoProperties() throws SQLException;
  405.  
  406.    ResultSet getFunctions(String var1, String var2, String var3) throws SQLException;
  407.  
  408.    ResultSet getFunctionColumns(String var1, String var2, String var3, String var4) throws SQLException;
  409. }
  410.